home *** CD-ROM | disk | FTP | other *** search
- [version]
- signature="$CHICAGO$"
- ;need to tell INFInstall to use ADVPACK.DLL-it implements CustomDestination
- AdvancedINF=2.5
-
- [DestinationDirs]
- ;>49000 indicates custom LDID
- contents=49002
- ;17 is Windows\INF directory
- INFCopy=17
-
- ;begin install logic
-
- [DefaultInstall]
- ;Win95 entry point
- CustomDestination=FileDest
- AddReg=PkgFiles,GenUninstallKey,Win95UninstallKey
- CopyFiles=contents,INFCopy
-
- [DefaultInstall.NT]
- ;NT 4 entry point
- CustomDestination=FileDest
- CopyFiles=contents,INFCopy
- AddReg=PkgFiles,GenUninstallKey,NTUninstallKey
-
- [contents]
- frmfield.doc
- headfoot.doc
- Lablgrph.doc
- MailMerg.doc
- ModifTem.doc
- styles.rtf
-
- [INFCopy]
- ;copy INF to Windows\INF for uninstall
- Tips.inf
-
- [FileDest]
- 49001=TemplPathKey,7
- 49002=BogusRegKey,5
-
- [TemplPathKey]
- "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir","",""
- "","","","%FailMsg%",""
-
- [BogusRegKey]
- "HKLM","SOFTWARE\BogusApp\BogusKey","","","%49001%\%PubDir%"
-
- [PkgFiles]
- HKLM,Software\Microsoft\Ork97\Tips,"InstallDir",,"%49002%"
-
- [GenUninstallKey]
- ;Reg key that puts entry in Add/Remove files CPL applet dialog
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tips,"DisplayName",,"%PackageDesc%"
-
- [Win95UninstallKey]
- ;call ADVPACK uninstaller on Win95
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tips,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Tips.inf, Uninstall"
-
- [NTUninstallKey]
- ;call ADVPACK uninstaller on NT 4
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tips,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\Tips.inf, Uninstall.NT"
-
- ; begin uninstall logic
- [Uninstall]
- BeginPrompt=BeginPromptSection
- EndPrompt=EndPromptSection
- CustomDestination=FileDest
- Delfiles=contents
- Deldirs=RemoveFolder
- ;clean up uninstall keys
- DelReg=DelRegSection
- Cleanup=1
-
- [Uninstall.NT]
- BeginPrompt=BeginPromptSection
- EndPrompt=EndPromptSection
- CustomDestination=FileDest
- Delfiles=contents
- Deldirs=RemoveFolder
- DelReg=DelRegSection
- Cleanup=1
-
- [DelRegSection]
- HKLM,Software\Microsoft\Ork97\Tips
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Tips
-
- [BeginPromptSection]
- Prompt="%BeginPrompt%"
- ButtonType=YESNO
- Title=%PackageName%
-
- [EndPromptSection]
- Prompt="%EndPrompt%"
-
- [RemoveFolder]
- %49002%
-
- [SourceDisksNames]
- 1 = "Tips",,0
-
- [Strings]
- PubDir="Ork97\Word\Tips"
- PackageName="Word 97 How-to Documents"
- PackageDesc="Word 97 How-to Documents (Remove only)"
- FailMsg="You must have a local "Program Files" folder to install the file(s)."
-
- ;prompts
- BeginPrompt="Are you sure that you want to remove Word 97 How-to Documents?"
- EndPrompt="The Word 97 How-to Documents was successfully removed."
-